package com.api.demo.dto.business.worker;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: 查询创客合同DTO
 * @author: yanming
 * @createDate: 2022/12/28 10:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ApiWorkerAgreementDTO extends ApiDTO implements Serializable {

    @ApiModelProperty(value = "创客身份证号码",required = true)
    @NotBlank(message = "创客身份证号码不能为空")
    private String idCardCode;

    @ApiModelProperty(value = "统一信用代码",required = true)
    @NotBlank(message = "统一信用代码不能为空")
    private String creditCode;

    @ApiModelProperty(value = "合同类型",required = true)
    @NotBlank(message = "合同类型不能为空")
    private String agreementType;

    @ApiModelProperty(value = "服务商ID")
    private Long taxId;

}